From: Florian Müllner Date: Fri, 31 Jul 2015 18:25:27 +0000 (+0200) Subject: shell: Fix C99'ism X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1278 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e92f43b83eb7596c56a54c8552914fed71992535;p=gnome-shell.git shell: Fix C99'ism --- diff --git a/src/shell-app-system.c b/src/shell-app-system.c index 77878e93e..3772e6421 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -399,9 +399,10 @@ char *** shell_app_system_search (const char *search_string) { char ***results = g_desktop_app_info_search (search_string); + char ***groups, **ids; - for (char ***groups = results; *groups; groups++) - for (char **ids = *groups; *ids; ids++) + for (groups = results; *groups; groups++) + for (ids = *groups; *ids; ids++) if (!g_utf8_validate (*ids, -1, NULL)) **ids = '\0';